package org.liveboardgames.agricola.business.updater;

import java.util.List;

import org.liveboardgames.agricola.domain.Change;

public abstract class AbstractUpdater {

  private List<Change> changes;
  
  protected AbstractUpdater(List<Change> changes) {
    this.changes = changes;
  }
  
  public List<Change> getChanges() {
    return changes;
  }
  
  protected void addChange(Change change) {
    this.changes.add(change);
  }
}
